package com.victor.service;

import java.util.List;

import com.victor.entity.Banner;
import com.victor.entity.Demo;

public interface BannerService {

	/**
	 * 添加banner信息
	 */
	public boolean insert(Banner banner);
	

	/**
	 * 修改banner信息
	 */
	public boolean update(Banner banner);
	
	/**
	 * 根据id批量删除
	 * @param ids
	 * @return
	 */
	public boolean batchDelete(int[] ids);
	
	/**
	 * 查询所有banner
	 * @return
	 */
	public List<Banner> selectAll();
	
	/**
	 * 通过参数查询banner
	 * @return
	 */
	public List<Banner> selecByPara(Banner banner);
}
